package com.example.zm_fanjiantao.mapper;

import com.example.zm_fanjiantao.web.model.User;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;


@Mapper
public interface UserMapper {
    void save(User user);
    List<User> userList();

    void update(User user);

    void delete(int id);

    User findUser(int id);
}
